import request from '/@/utils/request';
const modulePath = '/workbench';

export const fileDownloadForOutApi = (params: any) => {
	return request({
		url: `${modulePath}/api/download`,
		responseType: 'blob',
		method: 'get',
		params,
	});
};

export const areaTree = (params: any) => {
	return request({
		url: `/admin/sysArea/tree`,
		method: 'get',
		params,
	});
};
export const getUserInfo = (params: any) => {
	return request({
		url: `/admin/user/infoPost`,
		method: 'get',
		params,
	});
};
